import request from '@/utils/axios';
import appName from "../appName"

//CYQ:20200114-收付费作业-退费资料查询-信息查询
export function getReFundInoQueryList(params) {
    return request({
        url: appName.NB + '/reciveAndpayment/refundInfoQuery/getReFundInoQueryList',
        method: 'post',
        data: params
    })
}

//CYQ:20200114-收付费作业-自动退费资料加解锁-信息查询
export function getAutoReFundLockInfoList(params) {
    return request({
        url: appName.NB + '/reciveAndpayment/autoReFundLock/getAutoReFundLockInfoList',
        method: 'post',
        data: params
    })
}

//CYQ:20200114-收付费作业-自动退费资料加解锁-锁状态更改
export function updateHoldReFundLockStatus(params) {
    return request({
        url: appName.NB + '/reciveAndpayment/autoReFundLock/updateHoldReFundLockStatus',
        method: 'post',
        data: params
    })
}

//CYQ:20200114-收付费作业-自动退费资料加解锁-新增记录
export function saveAutoReFundLockInfo(params) {
    return request({
        url: appName.NB + '/reciveAndpayment/autoReFundLock/saveAutoReFundLockInfo',
        method: 'post',
        data: params
    })
}
//CYQ:20200114-收付费作业-自动退费资料加解锁-触动响应
export function getInsuredNameByChdrNumParams(params) {
    return request({
        url: appName.NB + '/reciveAndpayment/autoReFundLock/getInsuredNameByChdrNumParams',
        method: 'post',
        data: params
    })
}


//CYQ:20200114-收付费作业-手工退费录入-查询
export function getUnAutoReFundInfoList(params) {
    return request({
        url: appName.NB + '/reciveAndpayment/unAutoReFund/getUnAutoReFundInfoList',
        method: 'post',
        data: params
    })
}

//CYQ:20200114-收付费作业-手工退费录入-查询
export function findUnAutoReFundIndoBypayApplNum(params) {
    return request({
        url: appName.NB + '/reciveAndpayment/unAutoReFund/findUnAutoReFundIndoBypayApplNum',
        method: 'post',
        data: params
    })
}

//CYQ:20200114-收付费作业-手工退费录入-查询银行列表
export function selectOptionBankDealStatVo(params) {
    return request({
        url: appName.NB + '/reciveAndpayment/unAutoReFund/selectOptionBankDealStatVo',
        method: 'post',
        data: params
    })
}

//ZDH:20200514-收付费作业-手工退费录入-查询累计退费金额
export function queryPayamt(params) {
    return request({
        url: appName.NB + '/reciveAndpayment/unAutoReFund/queryPayamt',
        method: 'post',
        data: params
    })
}

//CYQ:20200114-收付费作业-手工退费录入-根据营销员代码查询营销员信息
export function findSalerNumInfo(params) {
    return request({
        url: appName.NB + '/reciveAndpayment/unAutoReFund/findSalerNumInfo',
        method: 'post',
        data: params
    })
}

//CYQ:20200114-收付费作业-手工退费录入-根据营销员代码查询营销员信息
export function saveUnAutoReFundInfo(params) {
    return request({
        url: appName.NB + '/reciveAndpayment/unAutoReFund/saveUnAutoReFundInfo',
        method: 'post',
        data: params
    })
}

//CYQ:20200114-收付费作业-手工退费录入-校验保单号码
export function checkChdrNumInfo(params) {
    return request({
        url: appName.NB + '/reciveAndpayment/unAutoReFund/checkChdrNumInfo',
        method: 'post',
        data: params
    })
}

//CYQ:20200226-收付费作业-手工退费录入-删除记录
export function deleteUnAutoReFundInfo(params) {
    return request({
        url: appName.NB + '/reciveAndpayment/unAutoReFund/deleteUnAutoReFundInfo',
        method: 'post',
        data: params
    })
}


//CYQ:20200226-收付费作业-手工退费录入-账户改变时候进行校验
export function changBankAccount(params) {
    return request({
        url: appName.NB + '/reciveAndpayment/unAutoReFund/changBankAccount',
        method: 'post',
        data: params
    })
}


//CYQ:20200227-收付费作业-手工退费录入-校验付款方式
export function changePayerType(params) {
    return request({
        url: appName.NB + '/reciveAndpayment/unAutoReFund/changePayerType',
        method: 'post',
        data: params
    })
}

//CYQ:20200227-收付费作业-手工退费录入-校验付款方式
export function checkOnAddSubject(params) {
    return request({
        url: appName.NB + '/reciveAndpayment/unAutoReFund/checkOnAddSubject',
        method: 'post',
        data: params
    })
}


//CYQ:20200227-收付费作业-手工退费录入-科目代码下拉列表框
export function selectOptionSubCodeVo(params) {
    return request({
        url: appName.NB + '/reciveAndpayment/unAutoReFund/selectOptionSubCodeVo',
        method: 'post',
        data: params
    })
}

//CYQ:20200227-收付费作业-手工退费录入-付款原因下拉列表框
export function selectOptionPayerReason(params) {
    return request({
        url: appName.NB + '/reciveAndpayment/unAutoReFund/selectOptionPayerReason',
        method: 'post',
        data: params
    })
}


//CYQ:202003107-收付费作业-自动退费加解锁-用户基础信息查询
export function getBaseOperInfo(params) {
    return request({
        url: appName.NB + '/reciveAndpayment/autoReFundLock/getBaseOperInfo',
        method: 'post',
        data: params
    })
}